package com.service;

import com.bo.Conversation;
import com.request.GptSendRequest;
import com.response.ConversationDTO;
import com.response.ConversationRes;
import com.utils.TripleDTO;

import java.io.IOException;
import java.util.List;

public interface GptService {

    ConversationRes queryWxyy(GptSendRequest req, Long userId) throws IOException;

    List<ConversationDTO> queryHistoryDTO(Long contextId);

    List<TripleDTO<String, String, List<Conversation>>> getUserQueryHistory(Long userId);

    Long getUserNewestContextId(Long userId);
}
